package gameView;

import last.project.*;
import android.content.Context;
import android.graphics.Canvas;
import android.view.View;

public class GameDrawView extends View {
	private Context cxt;
	private GameScreen Master;
	public GameDrawView(Context context, GameScreen ruler) {
		super(context);
		cxt=context;
		Master=ruler;
		setFocusableInTouchMode(true);
	}
	public void onDraw(Canvas canvas) {
		Master.redraw(canvas);
		invalidate();
	}
}
